<?php

use yii\db\Migration;
use yii\db\Schema;

class m161227_110851_edit_cruise_frist extends Migration
{
    public function up()
    {

         $this->alterColumn('{{cruise}}', 'first', Schema::TYPE_STRING. "(16) null  COMMENT '首航时间' ");
    }

    public function down()
    {
        echo "m161227_110851_edit_cruise_frist cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
